package com.zxy.service;

import com.zxy.common.result.Result;
import com.zxy.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zxy
 * @since 2021-04-21
 */
public interface UserService extends IService<User> {

    Result register(User user);

    Result login(User user, HttpServletResponse response);
}
